<div>
<div class="mainR">

<!--{if $this->Config[ad_enable]}-->
  <!--{if 'myhome'== $this->Code}-->
    <!--{if $this->Config[ad][ad_list][group_myhome][middle_right]}--><div class="R_AD"> {$this->Config[ad][ad_list][group_myhome][middle_right]}</div>	<!--{/if}-->
  <!--{elseif 'tag'== $this->Get['mod']}-->
    <!--{if $this->Config[ad][ad_list][tag_view][middle_right]}--><div class="R_AD">{$this->Config[ad][ad_list][tag_view][middle_right]}</div><!--{/if}-->
  <!--{/if}-->
<!--{/if}-->

<div id="topic_right_ajax_list">
	<!--(style_three_tol != 1 )-->
		<!--{if MEMBER_STYLE_THREE_TOL != 1}-->
			{template "topic_left.inc"}
		<!--{/if}-->
	<!---->	
</div>


<!--{eval $qun_setting = ConfigHandler::get('qun_setting');}-->	  


<!--{if MEMBER_ID != $member[uid]}-->

	<script language="javascript">
		$(document).ready(function(){
		
		/*
		* ajax 
		* 
		*/
			
			//
			get_user_follow();
			
			//
			get_to_user_tag();
			
			<!--{if $qun_setting['qun_open']}-->
				//
				get_my_qun();
			<!--{/if}-->
			
			<!--{eval $event_setting=ConfigHandler::get('event_setting')}-->
			<!--{if $event_setting['event_setting']}-->
				//
				get_to_user_event();
			<!--{/if}-->
			
		});
		
		function get_user_follow(){
			//
			right_show_ajax('{$member[uid]}','user_follow','user_follow');
		}
		function get_to_user_tag(){
			//
			right_show_ajax('{$member[uid]}','to_user_tag','to_user_tag');
		}
		function get_my_qun(){
			right_show_ajax('{$member[uid]}','my_qun','qun_box');
		}
		//
		function get_to_user_event()
		{
			right_show_ajax('{$member[uid]}','to_user_event','to_user_event_box');
		}
		
	</script>

	<div id="topic_right_user_info">
	<!--{if MEMBER_STYLE_THREE_TOL == 1}-->
		<div class="sideBox">
		<div class="person_atten_l">
			<p><span class="num"><a href="index.php?mod={$_mymember[username]}&code=follow" title="{$_mymember[nickname]}Követő">{$_mymember[follow_count]}</a></span></p>
			<p><a href="index.php?mod={$_mymember[username]}&code=follow" title="{$_mymember[nickname]} ">Követés</a> </p>
		</div>
		<div class="person_atten_l">
			<p><span class="num"><a href="index.php?mod={$_mymember[username]}&code=fans" title="követőm {$_mymember[nickname]}a">{$_mymember[fans_count]}</a></span></p>
			<p><a href="index.php?mod={$_mymember[username]}&code=fans" title="{$_mymember[nickname]} követőm">Követőm</a> </p>
		</div>
		<div class="person_atten_r">
			<p><span class="num"><a href="index.php?mod={$_mymember[username]}" title="{$_mymember[nickname]}">{$_mymember[topic_count]}</a></span></p>
			<p><a href="index.php?mod={$_mymember[username]}" title="{$_mymember[nickname]} blog">Mikroblog</a> </p>
		      </div>
		</div>
			
	<!--{/if}-->
	</div>
	<!--{hook/global_usernav_extra2}-->
	
	<script type="text/javascript">
		$(document).ready(function(){
			$(".SC_guanyu").click(function(){$(this).parent().toggleClass("fold_guanyu");$(".SC_guanyu_box").toggle();});
		});
		</script>
		<div class="SC">
			<h3>{$member[nickname]}<a class="btn SC_guanyu" href="javascript:void(0)"></a></h3>
			<ul class="FTL SC_guanyu_box">
				<!--{if $member[aboutme]}-->
				<li>&nbsp;{$member[aboutme]}</li>
				<!--{elseif MEMBER_ID==$member[uid] && !$_GET[mod_original]}-->
				<li><a href="index.php?mod=settings">Profil információ，</a>，kitöltése</li>
				<!--{else}-->
				Ez az ember lusta kitölteni
				<!--{/if}-->
			</ul>
		</div>
		
	
			  
		<!---->
		<!--{if $member[vip_info]}-->
		<div class="SC">
			<div style="width:160px; margin:7px auto; border:1px solid #CAD1B7; padding:10px; overflow:hidden; line-height:19px;">
				<div class="ico_vData">{$this->Config[site_name]} Visszajelzés</div>
				<p style="display:block;clear:both; margin-top:1px;"><span style="padding:3px;">{$member[vip_info]}</span></p>
			</div>
		</div>
		<!--{/if}-->  
		
		
		
	  <!--{if MEMBER_ID}-->
	  <!--{if $this->Code > 0}-->
	  <div class="SC">
		<div class="vDateBox">
		<p>{$member[follow_html]}</p>
		</div>
	  </div>
	  <!--{/if}-->
	   <!--{/if}-->
		
	<!---->
		<!--{if $this->Get[mod] !='tag'}-->
		  <!--{if MEMBER_ID > 0}-->
		   <!--{if MEMBER_ID != $member[uid]}-->
			  <script type="text/javascript">
				$(document).ready(function(){
				$(".SC_to_user_tag").click(function(){$(this).parent().toggleClass("fold_to_user_tag");$(".SC_to_user_tag_box").toggle();});
				});
			  </script>
			  <div class="SC">
				<h3>Cimkéhez {$member[gender_ta]} tartozik
				<a class="btn SC_to_user_tag" href="javascript:void(0);" onclick="right_show_ajax('{$member[uid]}','to_user_tag','to_user_tag'); return false;"></a>
				</h3>
				  <ul class="FTL SC_to_user_tag_box">
					<div id="{$member[uid]}_to_user_tag"></div>
				  </ul>
			   </div>
			<!--{/if}-->  
		  <!--{/if}-->  
		<!--{/if}-->  
	   <!---->
	   
	   
	   <!--{if MEMBER_ID != $member[uid]}-->
		  <script type="text/javascript">
			$(document).ready(function(){
			$(".SC_taguanzhu").click(function(){$(this).parent().toggleClass("fold_taguanzhu");$(".SC_taguanzhu_box").toggle();});
			});
		  </script>
		<div class="SC">
		<h3>{$member[gender_ta]} Követőm ({$member[follow_count]})
			<a class="btn SC_taguanzhu" href="javascript:void(0)" onclick="right_show_ajax('{$member[uid]}','user_follow','user_follow'); return false;"></a>
		</h3>
		<ul class="FTL FTL2 SC_taguanzhu_box">
			<div id="{$member[uid]}_user_follow"></div>
		</ul>
	  </div>
	  <!--{/if}-->  
	  
	  <!--{eval $qun_setting = ConfigHandler::get('qun_setting');}-->
	  <!--{if $qun_setting['qun_open']}-->
		  <!-- Begin-->
			<script type="text/javascript">
				$(document).ready(function(){
					$(".SC_my_qun").click(function(){$(this).parent().toggleClass("fold_qun");$(".SC_qun_box").toggle();});
				});
			</script>
			<div class="SC">
				<h3>
					{$member[gender_ta]}Csoport hozzáadása
					<a class="btn SC_my_qun" href="javascript:void(0);" onclick="right_show_ajax('{$member[uid]}','my_qun','qun_box'); return false;">
					</a>
				</h3>
				<ul class="FTL SC_qun_box">
					<div id="{$member[uid]}_qun_box"></div>
				</ul>
			</div>
		  <!--End-->
	  <!--{/if}-->
	  
	  <!--Begin-->
	  <script type="text/javascript">
				$(document).ready(function(){
					$(".SC_my_event").click(function(){$(this).parent().toggleClass("fold_event");$(".SC_event_box").toggle();});
				});
			</script>
			<div class="SC">
				<h3>
					{$member[gender_ta]} Tevégeníségek
					<a class="btn SC_my_event" href="javascript:void(0);" onclick="right_show_ajax('{$member[uid]}','to_user_event','to_user_event_box'); return false;">
					</a>
				</h3>
				<ul class="FTL SC_event_box">
					<div id="{$member[uid]}_to_user_event_box"></div>
				</ul>
			</div>
	   <!--End-->
	   
<!--{/if}-->  

	<!--{if MEMBER_ID == $member[uid]}-->
	<!--{if in_array($params[code],array('myhome','myfavorite','mycomment','tocomment','myat','myblog')) }-->  
	
	<script language="javascript">
		$(document).ready(function(){
		
		/*
		* ajax 
		* 
		*/
		
		//
		get_refresh();
		
		//
		get_hot_tag();
		
		//
		get_recommend_user();
			
		});
		
		function get_refresh(){
			//
			right_show_ajax('{$member[uid]}','refresh','refresh');
		}
		function get_hot_tag(){
			//
			right_show_ajax('{MEMBER_ID}','hot_tag','hot_tag');
		}
		function get_recommend_user(){
			//
			right_show_ajax('{MEMBER_ID}','recommend_user','recommend_user');
		}
	</script>

	<!-- start -->
		  <script type="text/javascript">
			$(document).ready(function(){
			$(".SC_guanxingqu").click(function(){$(this).parent().toggleClass("fold_guanxingqu");$(".SC_guanxingqu_box").toggle();});
			});
		  </script>
		  <div class="SC">
			<h3>
			Ki lehet érdekelt <a class="btn SC_guanxingqu" href="javascript:void(0);" onclick="right_show_ajax('{$member[uid]}','refresh','refresh'); return false;"></a>
			</h3>
			<div class="FTL SC_guanxingqu_box">
				<div id="{$member[uid]}_refresh"></div>
			</div>
		</div>
	  <!--end -->

	  <!-- -->
	  <!--{if $this->Config[hot_tag_recommend_enable] && ($hot_tag_recommend = ConfigHandler::get('hot_tag_recommend')) && $hot_tag_recommend[list]}-->
		  <script type="text/javascript">
			$(document).ready(function(){
			$(".SC_rementuijian").click(function(){$(this).parent().toggleClass("fold_rementuijian");$(".SC_rementuijian_box").toggle();});
			});
		  </script>
		<div class="SC">
		<h3>{$hot_tag_recommend[name]}<a class="btn SC_rementuijian" href="javascript:void(0);" onclick="right_show_ajax('{MEMBER_ID}','hot_tag','hot_tag');"></a></h3>
		<ul class="FTL SC_rementuijian_box">
			<div id="{MEMBER_ID}_hot_tag"></div>
		</ul>
	  </div>
	  <!--{/if}-->



	<!---->
		  <script type="text/javascript">
			$(document).ready(function(){
			$(".SC_renqituijian").click(function(){$(this).parent().toggleClass("fold_renqituijian");$(".SC_renqituijian_box").toggle();});
			});
		  </script>
	  <div class="SC">
	  <h3>Népszerű felhasználó<a class="btn SC_renqituijian" href="javascript:void(0);" onclick="right_show_ajax('{MEMBER_ID}','recommend_user','recommend_user');"></a></h3>
		<ul class="FTL FTL3 SC_renqituijian_box">
	 
			<div id="{MEMBER_ID}_recommend_user"></div>
	
		</ul>
	  </div>
	<!---->

	<!--{if $fans_list}-->
		  <script type="text/javascript">
			$(document).ready(function(){
			$(".SC_guanzhuta").click(function(){$(this).parent().toggleClass("fold_guanzhuta");$(".SC_guanzhuta_box").toggle();});
			});
		  </script>
		<div class="SC">
		<h3>Figyelem {$member[nickname]} követ<a class="btn SC_guanzhuta" href="javascript:void(0)"></a></h3>
		<ul class="FTL FTL2 SC_guanzhuta_box">
		  <!--{loop $fans_list $val}-->
		  <li class="h_h2"> <a href="index.php?mod={$val[username]}" target="_blank"><img onerror="javascript:faceError(this);" src="{$val[face]}" class="manface"/></a><span><a href="index.php?mod={$val[username]}" target="_blank">{$val[nickname]}</a></span></li>
		  <!--{/loop}-->
		  <li><a href="index.php?mod={$member[username]}&code=fans">További</a></li>
		</ul>
	  </div>
	  <!--{/if}-->

	<!--{/if}-->
<!--{/if}-->
	  
	<!----> 
	<!--{if $this->Config[extcredits_enable] && MEMBER_ID > 0 && $member[uid]==MEMBER_ID}-->
	  <script type="text/javascript">
		$(document).ready(function(){
		$(".SC_jifen").click(function(){$(this).parent().toggleClass("fold_jifen");$(".SC_jifen_box").toggle();});
		});
	  </script>
	  <div class="SC">
		<h3>Szerezz kreditet<a class="btn SC_jifen" href="javascript:void(0)"></a></h3>
		<ul class="FTL SC_jifen_box">
			<!--{eval $credits_rule=ConfigHandler::get('credits_rule');}-->
			<!--{loop $credits_rule $k $v}-->
				<!--{if $v[related] && '_'==$k[0]}-->
					<li>
					<!--{if 'T'==$k[1]}-->
						<a href="index.php?mod=tag&code={$v[related]}">Új jelentés a <b>#{$v[related]}#</b> témában</a>
					<!--{elseif 'U'==$k[1]}-->
						<a href="index.php?mod={$v[related]}">Figyelem <b>{$v[related]}</b></a>
					<!--{/if}-->
					
					<!--{loop $this->Config[credits][ext] $_k $_v}-->
						<!--{if $_v[enable] && $v[$_k]}-->
							{$_v[name]}
							<!--{if $v[$_k]>0}-->
							+
							<!--{/if}-->
							{$v[$_k]}
						<!--{/if}-->
					<!--{/loop}-->
					</li>
				<!--{/if}-->
			<!--{/loop}-->
			<li>További pontgyüjtési módokért，<a href="index.php?mod=settings&code=extcredits&op=rule">kattintson ide</a></li>
		</ul>
	  </div>
	<!--{/if}-->
	<!----> 
	
  
	<!-- -->
	<script type="text/javascript">
		$(document).ready(function(){
		$(".SC_yijianfankui").click(function(){$(this).parent().toggleClass("fold_yijianfankui");$(".SC_yijianfankui_box").toggle();});
		});
	  </script>
	  <div class="SC">
	  <h3>{$this->Config[site_name]} Visszajelzés<a class="btn SC_yijianfankui" href="javascript:void(0)"></a></h3>
	  <ul class="FTL SC_yijianfankui_box">
		  <li>Ha bármilyen visszajelzése illetve ötlete van <a href="index.php?mod=tag&code=ide írhat" target="_blank">itt elküldheti</a> szívesen látjuk.</li>
		  <li>&nbsp;</li>
		</ul>
	  </div>
	<!---->



<!--{if $member[uid]}-->
<div id="add_remark_{$member[uid]}" class="alertBox" style="display:none" >
	<ul class="manBox">
	 <li>
		<div class="tt1">
			<span>Megjegyzés: Név beállítása</span>
			<div class="mclose" onclick="getElementById('add_remark_{$member[uid]}').style.display=(getElementById('add_remark_{$member[uid]}').style.display=='none')?'':'none'"></div>
		</div>
		<div class="mWarp">
			 <form action="ajax.php?mod=topic&code=add_remark" method="POST" name="remarkform"   onsubmit="publishSubmit_remark('remark_{$member[uid]}',{$member[uid]});return false;">
			  Megjegyzési név hozzáadása （0~6 karakter）
					<table >
					  <tr>
						<td><input name="remark_{$member[uid]}" type="text" id="remark_{$member[uid]}" class="text-area2" value="{$buddys[remark]}" size="6" maxlength="6"/>
						</td>
						<td align="left">
						<input type="button" class="shareI" value="Ment" onclick="publishSubmit_remark('remark_{$member[uid]}',{$member[uid]});return false;" /> 
						</td>
					  </tr>
					</table>
			  </form>
		  </div>
		</li>
	 </ul>
 </div>
<!--{/if}--> 
	
<!--{if $this->Config[ad_enable]}-->
<div class="R_AD"> 
  {if 'myhome'== $this->Code}
  {$this->Config[ad][ad_list][group_myhome][middle_right1]}
  <!-- 右2-->
  {elseif 'tag'== $this->Get['mod']}
  {$this->Config[ad][ad_list][tag_view][middle_right1]}
  {/if}
</div>
<!--{/if}-->


</div></div>
